package com.markchu.modules.system.domain;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.markchu.common.enums.StatusEnum;
import com.markchu.common.utils.HttpServletUtil;
import com.markchu.common.utils.StatusUtil;
import lombok.Data;
import org.hibernate.annotations.NotFound;
import org.hibernate.annotations.NotFoundAction;
import org.hibernate.annotations.Where;
import org.springframework.data.annotation.CreatedBy;
import org.springframework.data.annotation.CreatedDate;
import org.springframework.data.annotation.LastModifiedBy;
import org.springframework.data.annotation.LastModifiedDate;
import org.springframework.data.jpa.domain.support.AuditingEntityListener;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.util.StringUtils;

import javax.persistence.*;
import javax.servlet.http.HttpServletRequest;
import java.io.Serializable;
import java.util.Date;

/**
 * @author mark_chu
 * @date 2023/11/13
 */
@Data
@Entity
@Table(name="export_excel_result")
@EntityListeners(AuditingEntityListener.class)
//@Where(clause = StatusUtil.NOT_DELETE)
public class ExportExcelResult implements Serializable {
    // 主键ID
    @Id
    @GeneratedValue(strategy=GenerationType.IDENTITY)
    private Long id;
    private String orgName;
    private String orgUser;
    private String orgBy;
    private String orgFren;
    private String orgMain;

    private Byte status = StatusEnum.OK.getCode();

}